package com.example.smart_hospital.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Account {
    @TableId(value = "user_id",type = IdType.AUTO)
    private Integer userId;
    private String userName;//账号昵称
    private String password;
    private Date createTime;
    private Date updateTime;
    private Integer authority;//权限
    private String email;//邮箱
    private String phone;//手机号
}
